package com.peter.dao;
import com.peter.entity.Users;
import java.util.List;
/**

 */
public interface UsersMapper {
    //查询所有的用户
    List<Users> getUsersList();
    //根据id查询
    Users getUserById(int id);
    //保存用户
    int saveUsers(Users users);
    //修改用户
    int updateUsers(Users users);
    //删除用户
    int deleteUsers(int id);
    //模糊查询
    List<Users> getUsersLike(String real_name);
}
